import serve from "../../util/http";

export default {
	/**
	 * 登录
	 */
	login(data: Types.User.ILogin): Promise<string> {
		return serve({ method: "post", url: "/user", data });
	}
};
